import request from '@/utils/request'
export function add(id, word, orderBy) {
    return request({
        url: '/api/hotWord/add.do',
        method: 'get',
        params:{
            id, word, orderBy
        }
  })
}

export function list() {
    return request({
        url: '/api/hotWord/list.do',
        method: 'get'
  })
}


export function del(id) {
    return request({
        url: '/api/hotWord/delete.do',
        method: 'get',
        params:{id}
  })
}